// 显示隐藏按钮
var register = document.querySelectorAll(".register-btn-apply")[1];
window.addEventListener("scroll",function(){
    if(scroll().top>700){
        register.style.display = "block";
    }
    else{
        register.style.display = "none";
    }
})




// ajax请求
$(".register-btn-apply").click(function(){
    
})

function scroll(){
    return {
        "top": window.pageYoffset || document.body.scrollTop || document.documentElement.scrollTop,
        "left": window.pageXoffset || document.body.scrollLeft || document.documentElement.scrollLeft
    }
}